import type { Machine, Database, Alarm } from '../types';

// 机器信息模拟数据
export const mockMachines: Machine[] = [
  { 
    id: 1, 
    name: 'Server-01', 
    ip: '192.168.1.101', 
    cpu: 45, 
    memory: 68, 
    disk: 52, 
    status: 'online', 
    os: 'CentOS 7.9', 
    purpose: '交易服务', 
    owner: '张三', 
    location: '北京机房-A区', 
    uptime: '45天12小时', 
    lastReboot: '2024-09-23 10:30:00',
    processes: [
      { pid: 1234, name: 'java', cpu: 15.2, memory: 2048, user: 'root', status: 'running', port: '8080' },
      { pid: 5678, name: 'nginx', cpu: 2.5, memory: 128, user: 'nginx', status: 'running', port: '80, 443' },
      { pid: 9012, name: 'mysql', cpu: 8.3, memory: 1536, user: 'mysql', status: 'running', port: '3306' },
      { pid: 3456, name: 'redis-server', cpu: 3.1, memory: 512, user: 'redis', status: 'running', port: '6379' },
      { pid: 7890, name: 'python3', cpu: 5.6, memory: 256, user: 'app', status: 'running', port: '5000' },
    ]
  },
  { id: 2, name: 'Server-02', ip: '192.168.1.102', cpu: 78, memory: 82, disk: 71, status: 'online', os: 'Ubuntu 20.04', purpose: '风控系统', owner: '李四', location: '北京机房-B区', uptime: '30天8小时', lastReboot: '2024-10-08 15:20:00', processes: [{ pid: 2345, name: 'postgres', cpu: 25.8, memory: 3072, user: 'postgres', status: 'running', port: '5432' }, { pid: 6789, name: 'node', cpu: 18.5, memory: 1024, user: 'app', status: 'running', port: '10001' }] },
  { id: 3, name: 'Server-03', ip: '192.168.1.103', cpu: 23, memory: 45, disk: 38, status: 'online', os: 'Windows Server 2019', purpose: '应用服务', owner: '王五', location: '上海机房-C区', uptime: '15天3小时', lastReboot: '2024-10-23 08:00:00', processes: [{ pid: 4567, name: 'IIS Worker Process', cpu: 8.2, memory: 512, user: 'IIS APPPOOL', status: 'running', port: '80, 8080' }] },
  { id: 4, name: 'Server-04', ip: '192.168.1.104', cpu: 91, memory: 95, disk: 88, status: 'warning', os: 'CentOS 8.5', purpose: '数据处理', owner: '张三', location: '北京机房-A区', uptime: '60天15小时', lastReboot: '2024-09-08 14:00:00', processes: [{ pid: 5555, name: 'spark-submit', cpu: 45.6, memory: 4096, user: 'hadoop', status: 'running', port: '4040' }] },
  { id: 5, name: 'Server-05', ip: '192.168.1.105', cpu: 0, memory: 0, disk: 0, status: 'offline', os: 'Ubuntu 22.04', purpose: '备份服务', owner: '赵六', location: '深圳机房-D区', uptime: '0天', lastReboot: '2024-11-07 18:30:00', processes: [] },
  { id: 6, name: 'Server-06', ip: '192.168.1.106', cpu: 56, memory: 72, disk: 65, status: 'online', os: 'CentOS 7.9', purpose: '交易服务', owner: '孙七', location: '北京机房-A区', uptime: '88天5小时', lastReboot: '2024-08-10 09:00:00', processes: [{ pid: 1111, name: 'java', cpu: 22.4, memory: 2560, user: 'root', status: 'running', port: '8080' }] },
  { id: 7, name: 'Server-07', ip: '192.168.1.107', cpu: 34, memory: 48, disk: 42, status: 'online', os: 'Ubuntu 20.04', purpose: '应用服务', owner: '周八', location: '上海机房-C区', uptime: '23天9小时', lastReboot: '2024-10-15 14:20:00', processes: [{ pid: 2222, name: 'node', cpu: 12.1, memory: 1024, user: 'app', status: 'running', port: '10001' }] },
  { id: 8, name: 'Server-08', ip: '192.168.1.108', cpu: 88, memory: 91, disk: 79, status: 'warning', os: 'CentOS 8.5', purpose: '数据处理', owner: '吴九', location: '深圳机房-D区', uptime: '102天18小时', lastReboot: '2024-07-28 11:00:00', processes: [{ pid: 3333, name: 'spark-submit', cpu: 38.5, memory: 3584, user: 'hadoop', status: 'running', port: '4040' }] },
  { id: 9, name: 'Server-09', ip: '192.168.1.109', cpu: 12, memory: 28, disk: 19, status: 'online', os: 'Ubuntu 22.04', purpose: '监控服务', owner: '郑十', location: '北京机房-B区', uptime: '7天2小时', lastReboot: '2024-11-01 07:30:00', processes: [{ pid: 4444, name: 'prometheus', cpu: 5.2, memory: 512, user: 'monitor', status: 'running', port: '9090' }] },
  { id: 10, name: 'Server-10', ip: '192.168.1.110', cpu: 67, memory: 74, disk: 68, status: 'online', os: 'Windows Server 2022', purpose: '风控系统', owner: '李四', location: '上海机房-C区', uptime: '52天11小时', lastReboot: '2024-09-17 10:00:00', processes: [{ pid: 5555, name: 'sqlservr.exe', cpu: 18.3, memory: 2048, user: 'SYSTEM', status: 'running', port: '1433' }] },
  { id: 11, name: 'Server-11', ip: '192.168.1.111', cpu: 41, memory: 55, disk: 47, status: 'online', os: 'CentOS 7.9', purpose: '交易服务', owner: '张三', location: '北京机房-A区', uptime: '35天7小时', lastReboot: '2024-10-04 13:15:00', processes: [{ pid: 6666, name: 'java', cpu: 16.8, memory: 1792, user: 'root', status: 'running', port: '8080' }] },
  { id: 12, name: 'Server-12', ip: '192.168.1.112', cpu: 0, memory: 0, disk: 0, status: 'offline', os: 'Ubuntu 20.04', purpose: '备份服务', owner: '赵六', location: '深圳机房-D区', uptime: '0天', lastReboot: '2024-11-08 02:00:00', processes: [] },
  { id: 13, name: 'Server-13', ip: '192.168.1.113', cpu: 29, memory: 39, disk: 33, status: 'online', os: 'CentOS 8.5', purpose: '应用服务', owner: '王五', location: '北京机房-B区', uptime: '19天4小时', lastReboot: '2024-10-20 16:45:00', processes: [{ pid: 7777, name: 'nginx', cpu: 3.2, memory: 256, user: 'nginx', status: 'running', port: '80, 443' }] },
  { id: 14, name: 'Server-14', ip: '192.168.1.114', cpu: 93, memory: 97, disk: 91, status: 'warning', os: 'Ubuntu 22.04', purpose: '数据处理', owner: '吴九', location: '上海机房-C区', uptime: '71天20小时', lastReboot: '2024-08-28 08:30:00', processes: [{ pid: 8888, name: 'flink', cpu: 42.7, memory: 4096, user: 'flink', status: 'running', port: '8081' }] },
  { id: 15, name: 'Server-15', ip: '192.168.1.115', cpu: 18, memory: 32, disk: 25, status: 'online', os: 'Windows Server 2019', purpose: '监控服务', owner: '郑十', location: '深圳机房-D区', uptime: '12天6小时', lastReboot: '2024-10-27 12:00:00', processes: [{ pid: 9999, name: 'grafana-server', cpu: 4.5, memory: 384, user: 'grafana', status: 'running', port: '10001' }] },
  { id: 16, name: 'Server-16', ip: '192.168.1.116', cpu: 52, memory: 63, disk: 58, status: 'online', os: 'CentOS 7.9', purpose: '风控系统', owner: '孙七', location: '北京机房-A区', uptime: '41天15小时', lastReboot: '2024-09-28 09:20:00', processes: [{ pid: 1010, name: 'postgres', cpu: 19.6, memory: 2304, user: 'postgres', status: 'running', port: '5432' }] },
  { id: 17, name: 'Server-17', ip: '192.168.1.117', cpu: 76, memory: 81, disk: 73, status: 'online', os: 'Ubuntu 20.04', purpose: '交易服务', owner: '周八', location: '上海机房-C区', uptime: '66天3小时', lastReboot: '2024-09-03 15:40:00', processes: [{ pid: 2020, name: 'java', cpu: 28.9, memory: 3072, user: 'root', status: 'running', port: '8080' }] },
  { id: 18, name: 'Server-18', ip: '192.168.1.118', cpu: 8, memory: 15, disk: 12, status: 'online', os: 'CentOS 8.5', purpose: '缓存服务', owner: '李四', location: '北京机房-B区', uptime: '95天21小时', lastReboot: '2024-08-05 06:15:00', processes: [{ pid: 3030, name: 'redis-server', cpu: 2.8, memory: 512, user: 'redis', status: 'running', port: '6379' }] },
  { id: 19, name: 'Server-19', ip: '192.168.1.119', cpu: 0, memory: 0, disk: 0, status: 'offline', os: 'Ubuntu 22.04', purpose: '应用服务', owner: '王五', location: '深圳机房-D区', uptime: '0天', lastReboot: '2024-11-07 20:10:00', processes: [] },
  { id: 20, name: 'Server-20', ip: '192.168.1.120', cpu: 62, memory: 69, disk: 64, status: 'online', os: 'Windows Server 2022', purpose: '数据处理', owner: '张三', location: '上海机房-C区', uptime: '28天14小时', lastReboot: '2024-10-11 11:25:00', processes: [{ pid: 4040, name: 'python.exe', cpu: 21.3, memory: 1536, user: 'Administrator', status: 'running', port: '5000' }] },
  { id: 21, name: 'Server-21', ip: '192.168.1.121', cpu: 85, memory: 89, disk: 82, status: 'warning', os: 'CentOS 7.9', purpose: '风控系统', owner: '赵六', location: '北京机房-A区', uptime: '55天9小时', lastReboot: '2024-09-14 14:50:00', processes: [{ pid: 5050, name: 'elasticsearch', cpu: 35.4, memory: 3584, user: 'elastic', status: 'running', port: '9200, 9300' }] },
  { id: 22, name: 'Server-22', ip: '192.168.1.122', cpu: 37, memory: 51, disk: 44, status: 'online', os: 'Ubuntu 20.04', purpose: '应用服务', owner: '孙七', location: '深圳机房-D区', uptime: '16天8小时', lastReboot: '2024-10-23 10:35:00', processes: [{ pid: 6060, name: 'tomcat', cpu: 13.7, memory: 1024, user: 'tomcat', status: 'running', port: '8080' }] },
  { id: 23, name: 'Server-23', ip: '192.168.1.123', cpu: 44, memory: 58, disk: 51, status: 'online', os: 'CentOS 8.5', purpose: '交易服务', owner: '周八', location: '北京机房-B区', uptime: '38天17小时', lastReboot: '2024-10-01 07:20:00', processes: [{ pid: 7070, name: 'java', cpu: 17.2, memory: 2048, user: 'root', status: 'running', port: '8080' }] },
  { id: 24, name: 'Server-24', ip: '192.168.1.124', cpu: 21, memory: 35, disk: 28, status: 'online', os: 'Ubuntu 22.04', purpose: '监控服务', owner: '吴九', location: '上海机房-C区', uptime: '9天5小时', lastReboot: '2024-10-30 15:00:00', processes: [{ pid: 8080, name: 'zabbix_server', cpu: 6.1, memory: 640, user: 'zabbix', status: 'running', port: '10051' }] },
  { id: 25, name: 'Server-25', ip: '192.168.1.125', cpu: 71, memory: 77, disk: 70, status: 'online', os: 'Windows Server 2019', purpose: '数据处理', owner: '郑十', location: '北京机房-A区', uptime: '47天12小时', lastReboot: '2024-09-22 09:45:00', processes: [{ pid: 9090, name: 'spark-submit.exe', cpu: 26.5, memory: 2816, user: 'hadoop', status: 'running', port: '4040' }] },
  { id: 26, name: 'Server-26', ip: '192.168.1.126', cpu: 0, memory: 0, disk: 0, status: 'offline', os: 'CentOS 7.9', purpose: '备份服务', owner: '李四', location: '深圳机房-D区', uptime: '0天', lastReboot: '2024-11-08 01:15:00', processes: [] },
  { id: 27, name: 'Server-27', ip: '192.168.1.127', cpu: 59, memory: 66, disk: 61, status: 'online', os: 'Ubuntu 20.04', purpose: '风控系统', owner: '王五', location: '上海机房-C区', uptime: '33天11小时', lastReboot: '2024-10-06 13:30:00', processes: [{ pid: 1212, name: 'kafka', cpu: 20.8, memory: 2048, user: 'kafka', status: 'running', port: '9092' }] },
  { id: 28, name: 'Server-28', ip: '192.168.1.128', cpu: 14, memory: 26, disk: 21, status: 'online', os: 'CentOS 8.5', purpose: '缓存服务', owner: '张三', location: '北京机房-B区', uptime: '81天19小时', lastReboot: '2024-08-19 05:50:00', processes: [{ pid: 1313, name: 'memcached', cpu: 3.6, memory: 384, user: 'memcached', status: 'running', port: '11211' }] },
  { id: 29, name: 'Server-29', ip: '192.168.1.129', cpu: 96, memory: 98, disk: 93, status: 'warning', os: 'Ubuntu 22.04', purpose: '数据处理', owner: '赵六', location: '深圳机房-D区', uptime: '125天7小时', lastReboot: '2024-07-06 12:40:00', processes: [{ pid: 1414, name: 'hadoop', cpu: 48.9, memory: 4608, user: 'hadoop', status: 'running', port: '9000, 50070' }] },
  { id: 30, name: 'Server-30', ip: '192.168.1.130', cpu: 49, memory: 61, disk: 54, status: 'online', os: 'Windows Server 2022', purpose: '应用服务', owner: '孙七', location: '北京机房-A区', uptime: '24天16小时', lastReboot: '2024-10-15 08:10:00', processes: [{ pid: 1515, name: 'IIS Worker Process', cpu: 15.4, memory: 1280, user: 'IIS APPPOOL', status: 'running', port: '80, 8080' }] },
]

// 数据库状态模拟数据
export const mockDatabases: Database[] = [
  { id: 1, name: 'MySQL-Trade', host: '192.168.1.201', connections: 45, qps: 1250, status: 'normal', uptime: '15天3小时' },
  { id: 2, name: 'PostgreSQL-Risk', host: '192.168.1.202', connections: 32, qps: 890, status: 'normal', uptime: '30天12小时' },
  { id: 3, name: 'Oracle-Core', host: '192.168.1.203', connections: 128, qps: 3200, status: 'normal', uptime: '45天8小时' },
  { id: 4, name: 'Redis-Cache', host: '192.168.1.204', connections: 256, qps: 8500, status: 'normal', uptime: '60天1小时' },
  { id: 5, name: 'MongoDB-Log', host: '192.168.1.205', connections: 89, qps: 2100, status: 'warning', uptime: '22天5小时' },
  { id: 6, name: 'MySQL-Order', host: '192.168.1.206', connections: 67, qps: 1850, status: 'normal', uptime: '88天7小时' },
  { id: 7, name: 'PostgreSQL-User', host: '192.168.1.207', connections: 54, qps: 1320, status: 'normal', uptime: '12天4小时' },
  { id: 8, name: 'Redis-Session', host: '192.168.1.208', connections: 312, qps: 12500, status: 'normal', uptime: '102天18小时' },
  { id: 9, name: 'MySQL-Payment', host: '192.168.1.209', connections: 98, qps: 2780, status: 'warning', uptime: '7天2小时' },
  { id: 10, name: 'MongoDB-Message', host: '192.168.1.210', connections: 76, qps: 1680, status: 'normal', uptime: '35天16小时' },
  { id: 11, name: 'Oracle-Report', host: '192.168.1.211', connections: 145, qps: 3850, status: 'normal', uptime: '55天9小时' },
  { id: 12, name: 'Redis-Queue', host: '192.168.1.212', connections: 189, qps: 6420, status: 'normal', uptime: '19天4小时' },
  { id: 13, name: 'MySQL-Account', host: '192.168.1.213', connections: 41, qps: 980, status: 'normal', uptime: '71天20小时' },
  { id: 14, name: 'PostgreSQL-Analytics', host: '192.168.1.214', connections: 123, qps: 4210, status: 'warning', uptime: '5天8小时' },
  { id: 15, name: 'MongoDB-Archive', host: '192.168.1.215', connections: 28, qps: 540, status: 'normal', uptime: '125天7小时' },
  { id: 16, name: 'MySQL-Product', host: '192.168.1.216', connections: 59, qps: 1560, status: 'normal', uptime: '41天15小时' },
  { id: 17, name: 'Redis-Config', host: '192.168.1.217', connections: 95, qps: 3280, status: 'normal', uptime: '66天3小时' },
  { id: 18, name: 'PostgreSQL-Notification', host: '192.168.1.218', connections: 38, qps: 820, status: 'normal', uptime: '28天14小时' },
  { id: 19, name: 'MySQL-Inventory', host: '192.168.1.219', connections: 72, qps: 1920, status: 'normal', uptime: '16天8小时' },
  { id: 20, name: 'Oracle-Financial', host: '192.168.1.220', connections: 167, qps: 4580, status: 'normal', uptime: '95天21小时' },
  { id: 21, name: 'MongoDB-Audit', host: '192.168.1.221', connections: 51, qps: 1180, status: 'warning', uptime: '3天5小时' },
  { id: 22, name: 'Redis-Lock', host: '192.168.1.222', connections: 428, qps: 15600, status: 'normal', uptime: '52天11小时' },
  { id: 23, name: 'MySQL-Customer', host: '192.168.1.223', connections: 63, qps: 1740, status: 'normal', uptime: '38天17小时' },
  { id: 24, name: 'PostgreSQL-Marketing', host: '192.168.1.224', connections: 46, qps: 1050, status: 'normal', uptime: '9天5小时' },
  { id: 25, name: 'MongoDB-Metrics', host: '192.168.1.225', connections: 84, qps: 2340, status: 'normal', uptime: '47天12小时' },
  { id: 26, name: 'MySQL-Scheduler', host: '192.168.1.226', connections: 29, qps: 650, status: 'normal', uptime: '81天19小时' },
  { id: 27, name: 'Redis-Counter', host: '192.168.1.227', connections: 267, qps: 9840, status: 'normal', uptime: '33天11小时' },
  { id: 28, name: 'PostgreSQL-Search', host: '192.168.1.228', connections: 91, qps: 2890, status: 'normal', uptime: '24天16小时' },
  { id: 29, name: 'Oracle-Compliance', host: '192.168.1.229', connections: 156, qps: 4120, status: 'normal', uptime: '69天8小时' },
  { id: 30, name: 'MongoDB-Event', host: '192.168.1.230', connections: 105, qps: 3560, status: 'warning', uptime: '11天7小时' },
]

// 告警监控模拟数据
export const mockAlarms: Alarm[] = [
  { id: 1, time: '2025-11-08 14:35:22', level: 'critical', type: 'CPU', source: 'Server-04', message: 'CPU使用率超过90%，当前值：91%', status: 'active', serverName: 'Server-04', serverIP: '192.168.1.104', firstTime: '2025-11-08 14:35:22', duration: '0天0小时' },
  { id: 2, time: '2025-11-08 14:28:15', level: 'warning', type: '数据库', source: 'MongoDB-Log', message: '慢查询数量激增，过去1小时新增15条慢查询', status: 'active', serverName: 'Server-10', serverIP: '192.168.1.110', firstTime: '2025-11-08 14:28:15', duration: '0天0小时' },
  { id: 3, time: '2025-11-08 14:15:03', level: 'critical', type: '网络', source: 'Server-05', message: '服务器无法访问，连接超时', status: 'active', serverName: 'Server-05', serverIP: '192.168.1.105', firstTime: '2025-11-08 14:15:03', duration: '0天0小时' },
  { id: 4, time: '2025-11-08 13:55:42', level: 'info', type: '磁盘', source: 'Server-02', message: '磁盘使用率达到70%，建议清理日志文件', status: 'resolved', serverName: 'Server-02', serverIP: '192.168.1.102', firstTime: '2025-11-08 13:55:42', duration: '0天1小时' },
  { id: 5, time: '2025-11-08 13:42:18', level: 'warning', type: '内存', source: 'Server-04', message: '内存使用率持续高于80%', status: 'active', serverName: 'Server-04', serverIP: '192.168.1.104', firstTime: '2025-11-08 13:42:18', duration: '0天1小时' },
  { id: 6, time: '2025-11-08 13:20:55', level: 'info', type: '应用', source: 'Trade-Service', message: '交易服务响应时间超过阈值', status: 'resolved', serverName: 'Server-01', serverIP: '192.168.1.101', firstTime: '2025-11-08 13:20:55', duration: '0天2小时' },
  { id: 7, time: '2025-11-08 13:05:31', level: 'warning', type: 'CPU', source: 'Server-08', message: 'CPU使用率达到88%', status: 'active', serverName: 'Server-08', serverIP: '192.168.1.108', firstTime: '2025-11-08 13:05:31', duration: '0天1小时' },
  { id: 8, time: '2025-11-08 12:48:27', level: 'critical', type: '内存', source: 'Server-14', message: '内存使用率超过97%，系统可能崩溃', status: 'active', serverName: 'Server-14', serverIP: '192.168.1.114', firstTime: '2025-11-08 12:48:27', duration: '0天2小时' },
  { id: 9, time: '2025-11-08 12:35:19', level: 'info', type: '数据库', source: 'PostgreSQL-Analytics', message: '连接数接近上限', status: 'resolved', serverName: 'Server-15', serverIP: '192.168.1.115', firstTime: '2025-11-08 12:35:19', duration: '0天3小时' },
  { id: 10, time: '2025-11-08 12:20:44', level: 'warning', type: '磁盘', source: 'Server-17', message: '磁盘使用率达到73%', status: 'active', serverName: 'Server-17', serverIP: '192.168.1.117', firstTime: '2025-11-08 12:20:44', duration: '0天2小时' },
  { id: 11, time: '2025-11-08 12:08:52', level: 'info', type: '应用', source: 'Risk-Service', message: '风控服务单请求处理时间较长', status: 'resolved', serverName: 'Server-20', serverIP: '192.168.1.120', firstTime: '2025-11-08 12:08:52', duration: '0天3小时' },
  { id: 12, time: '2025-11-08 11:55:33', level: 'critical', type: '网络', source: 'Server-12', message: '网络连接中断', status: 'active', serverName: 'Server-12', serverIP: '192.168.1.112', firstTime: '2025-11-08 11:55:33', duration: '0天3小时' },
  { id: 13, time: '2025-11-08 11:42:17', level: 'warning', type: 'CPU', source: 'Server-21', message: 'CPU负载较高，当前85%', status: 'active', serverName: 'Server-21', serverIP: '192.168.1.121', firstTime: '2025-11-08 11:42:17', duration: '0天3小时' },
  { id: 14, time: '2025-11-08 11:28:05', level: 'info', type: '磁盘', source: 'Server-10', message: '磁盘空间使用通知', status: 'resolved', serverName: 'Server-10', serverIP: '192.168.1.110', firstTime: '2025-11-08 11:28:05', duration: '0天3小时' },
  { id: 15, time: '2025-11-08 11:15:49', level: 'critical', type: '内存', source: 'Server-29', message: '内存溢出风险，当前98%', status: 'active', serverName: 'Server-29', serverIP: '192.168.1.129', firstTime: '2025-11-08 11:15:49', duration: '0天3小时' },
  { id: 16, time: '2025-11-08 10:58:23', level: 'warning', type: '数据库', source: 'MySQL-Payment', message: '数据库连接池使用率超过80%', status: 'active', serverName: 'Server-06', serverIP: '192.168.1.106', firstTime: '2025-11-08 10:58:23', duration: '0天4小时' },
  { id: 17, time: '2025-11-08 10:42:36', level: 'info', type: '应用', source: 'Payment-Service', message: '支付服务平均响应时间增加', status: 'resolved', serverName: 'Server-07', serverIP: '192.168.1.107', firstTime: '2025-11-08 10:42:36', duration: '0天4小时' },
  { id: 18, time: '2025-11-08 10:25:11', level: 'warning', type: '网络', source: 'Server-07', message: '网络延迟较高', status: 'resolved', serverName: 'Server-07', serverIP: '192.168.1.107', firstTime: '2025-11-08 10:25:11', duration: '0天5小时' },
  { id: 19, time: '2025-11-08 10:08:47', level: 'critical', type: 'CPU', source: 'Server-14', message: 'CPU使用率达到93%', status: 'active', serverName: 'Server-14', serverIP: '192.168.1.114', firstTime: '2025-11-08 09:08:47', duration: '1天1小时' },
  { id: 20, time: '2025-11-08 09:52:29', level: 'info', type: '磁盘', source: 'Server-25', message: '磁盘写入速度较慢', status: 'resolved', serverName: 'Server-25', serverIP: '192.168.1.125', firstTime: '2025-11-08 09:52:29', duration: '0天5小时' },
  { id: 21, time: '2025-11-08 09:35:14', level: 'warning', type: '应用', source: 'Order-Service', message: '订单服务错误率上升', status: 'active', serverName: 'Server-11', serverIP: '192.168.1.111', firstTime: '2025-11-08 09:35:14', duration: '0天5小时' },
  { id: 22, time: '2025-11-08 09:18:56', level: 'critical', type: '数据库', source: 'MongoDB-Audit', message: '数据库连接失败', status: 'active', serverName: 'Server-21', serverIP: '192.168.1.121', firstTime: '2025-11-08 09:18:56', duration: '0天5小时' },
  { id: 23, time: '2025-11-08 09:02:38', level: 'info', type: '内存', source: 'Server-18', message: '内存使用率为15%，运行正常', status: 'resolved', serverName: 'Server-18', serverIP: '192.168.1.118', firstTime: '2025-11-08 09:02:38', duration: '0天6小时' },
  { id: 24, time: '2025-11-08 08:45:22', level: 'warning', type: 'CPU', source: 'Server-11', message: 'CPU使用率波动较大', status: 'resolved', serverName: 'Server-11', serverIP: '192.168.1.111', firstTime: '2025-11-08 08:45:22', duration: '0天6小时' },
  { id: 25, time: '2025-11-08 08:28:09', level: 'critical', type: '磁盘', source: 'Server-08', message: '磁盘使用率达到91%，空间严重不足', status: 'active', serverName: 'Server-08', serverIP: '192.168.1.108', firstTime: '2025-11-08 07:28:09', duration: '1天1小时' },
  { id: 26, time: '2025-11-08 08:10:45', level: 'info', type: '应用', source: 'User-Service', message: '用户服务访问量增加', status: 'resolved', serverName: 'Server-13', serverIP: '192.168.1.113', firstTime: '2025-11-08 08:10:45', duration: '0天7小时' },
  { id: 27, time: '2025-11-08 07:55:31', level: 'warning', type: '数据库', source: 'Redis-Lock', message: 'Redis内存使用率较高', status: 'active', serverName: 'Server-22', serverIP: '192.168.1.122', firstTime: '2025-11-08 07:55:31', duration: '0天7小时' },
  { id: 28, time: '2025-11-08 07:38:17', level: 'critical', type: '网络', source: 'Server-19', message: '网络完全不可达', status: 'active', serverName: 'Server-19', serverIP: '192.168.1.119', firstTime: '2025-11-08 07:38:17', duration: '0天7小时' },
  { id: 29, time: '2025-11-08 07:22:03', level: 'info', type: 'CPU', source: 'Server-09', message: 'CPU使用率低于20%', status: 'resolved', serverName: 'Server-09', serverIP: '192.168.1.109', firstTime: '2025-11-08 07:22:03', duration: '0天8小时' },
  { id: 30, time: '2025-11-08 07:05:48', level: 'warning', type: '内存', source: 'Server-27', message: '内存碎片率较高', status: 'resolved', serverName: 'Server-27', serverIP: '192.168.1.127', firstTime: '2025-11-08 07:05:48', duration: '0天8小时' },
  { id: 31, time: '2025-11-08 06:48:34', level: 'critical', type: '应用', source: 'Analytics-Service', message: '分析服务崩溃', status: 'active', serverName: 'Server-24', serverIP: '192.168.1.124', firstTime: '2025-11-08 06:48:34', duration: '0天8小时' },
  { id: 32, time: '2025-11-08 06:30:20', level: 'info', type: '磁盘', source: 'Server-22', message: '磁盘I/O性能良好', status: 'resolved', serverName: 'Server-22', serverIP: '192.168.1.122', firstTime: '2025-11-08 06:30:20', duration: '0天8小时' },
  { id: 33, time: '2025-11-08 06:12:55', level: 'warning', type: '数据库', source: 'Oracle-Financial', message: '表锁等待时间较长', status: 'active', serverName: 'Server-03', serverIP: '192.168.1.103', firstTime: '2025-11-08 06:12:55', duration: '0天9小时' },
  { id: 34, time: '2025-11-08 05:55:41', level: 'critical', type: 'CPU', source: 'Server-29', message: 'CPU温度过高', status: 'active', serverName: 'Server-29', serverIP: '192.168.1.129', firstTime: '2025-11-08 04:55:41', duration: '1天1小时' },
  { id: 35, time: '2025-11-08 05:38:27', level: 'info', type: '网络', source: 'Server-16', message: '网络带宽使用正常', status: 'resolved', serverName: 'Server-16', serverIP: '192.168.1.116', firstTime: '2025-11-08 05:38:27', duration: '0天10小时' },
]
